﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceProcess;
using System.Text;
using DeSleeper.Service;

namespace DeSleeper.ServiceHost
{
    static class Startup
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
#if NEVER
            //var serviceHost = new ServiceHost(typeof(WakeUpService));
            //serviceHost.Open();
            //Thread.Sleep(Timeout.Infinite);
            ProxyRegister.StartLocally();
#else
            var ServicesToRun = new ServiceBase[] { new WakeOnLanProxyService() };
            ServiceBase.Run(ServicesToRun);
#endif
        }
    }
}
